<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>注册页面</title>
	</head>
	<body>
		<h2>
			注册页面
		</h2>
		<s:debug></s:debug>
		<s:form action="userAction" theme="simple" >
			邮箱<s:textfield name="user.email"  theme="simple" value="%{user.email}"  /><br/>
			姓名：<s:textfield name="user.userName"  theme="simple" value="%{user.userName}"   /><br/>
			密码：<s:textfield name="user.passWord" theme="simple" value="%{user.passWord}" /><br/>
			<s:hidden name="user.userId" value="%{user.userId}"></s:hidden>
			验证码：<s:token/>
			<s:submit value="保存"  method="save"/>
		</s:form>
	</body>
</html>